package org.small.shop.phone.api.process.orders.mapper;

import java.util.List;
import java.util.Map;

import org.small.shop.phone.api.MyMapper;
import org.small.shop.phone.api.process.orders.pojo.OrderListVo;
import org.small.shop.phone.api.process.orders.pojo.SelectOrders;
import org.small.shop.phone.api.process.orders.pojo.TblWxOrders;
import org.small.shop.phone.api.process.orders.pojo.UnpaidOrdersVo;

public interface TblWxOrdersMapper extends MyMapper<TblWxOrders> {

	UnpaidOrdersVo getUnpaidOrderByOrdId(Map<String, Object> map);

	void updateOrderStatusByUserIdAndOrderId(Map<String, Object> map);

	List<OrderListVo> selectAllOrdsByUserIdOrSta(SelectOrders selectOrders);

	Integer selectAllOrdsByUserIdOrStaCount(SelectOrders selectOrders);

	void delectOrderByOrdId(Map<String, Object> map);

	void refundOrdersByOrdId(Map<String, Object> map);

	void confirmOrdersByOrdId(Map<String, Object> map);

	void payOrdersByOrdId(Map<String, Object> map);
}